package com.zhiyou100.taxi.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CarOutExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CarOutExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andCarOutIdIsNull() {
            addCriterion("CAR_OUT_ID is null");
            return (Criteria) this;
        }

        public Criteria andCarOutIdIsNotNull() {
            addCriterion("CAR_OUT_ID is not null");
            return (Criteria) this;
        }

        public Criteria andCarOutIdEqualTo(String value) {
            addCriterion("CAR_OUT_ID =", value, "carOutId");
            return (Criteria) this;
        }

        public Criteria andCarOutIdNotEqualTo(String value) {
            addCriterion("CAR_OUT_ID <>", value, "carOutId");
            return (Criteria) this;
        }

        public Criteria andCarOutIdGreaterThan(String value) {
            addCriterion("CAR_OUT_ID >", value, "carOutId");
            return (Criteria) this;
        }

        public Criteria andCarOutIdGreaterThanOrEqualTo(String value) {
            addCriterion("CAR_OUT_ID >=", value, "carOutId");
            return (Criteria) this;
        }

        public Criteria andCarOutIdLessThan(String value) {
            addCriterion("CAR_OUT_ID <", value, "carOutId");
            return (Criteria) this;
        }

        public Criteria andCarOutIdLessThanOrEqualTo(String value) {
            addCriterion("CAR_OUT_ID <=", value, "carOutId");
            return (Criteria) this;
        }

        public Criteria andCarOutIdLike(String value) {
            addCriterion("CAR_OUT_ID like", value, "carOutId");
            return (Criteria) this;
        }

        public Criteria andCarOutIdNotLike(String value) {
            addCriterion("CAR_OUT_ID not like", value, "carOutId");
            return (Criteria) this;
        }

        public Criteria andCarOutIdIn(List<String> values) {
            addCriterion("CAR_OUT_ID in", values, "carOutId");
            return (Criteria) this;
        }

        public Criteria andCarOutIdNotIn(List<String> values) {
            addCriterion("CAR_OUT_ID not in", values, "carOutId");
            return (Criteria) this;
        }

        public Criteria andCarOutIdBetween(String value1, String value2) {
            addCriterion("CAR_OUT_ID between", value1, value2, "carOutId");
            return (Criteria) this;
        }

        public Criteria andCarOutIdNotBetween(String value1, String value2) {
            addCriterion("CAR_OUT_ID not between", value1, value2, "carOutId");
            return (Criteria) this;
        }

        public Criteria andCarIdIsNull() {
            addCriterion("CAR_ID is null");
            return (Criteria) this;
        }

        public Criteria andCarIdIsNotNull() {
            addCriterion("CAR_ID is not null");
            return (Criteria) this;
        }

        public Criteria andCarIdEqualTo(String value) {
            addCriterion("CAR_ID =", value, "carId");
            return (Criteria) this;
        }

        public Criteria andCarIdNotEqualTo(String value) {
            addCriterion("CAR_ID <>", value, "carId");
            return (Criteria) this;
        }

        public Criteria andCarIdGreaterThan(String value) {
            addCriterion("CAR_ID >", value, "carId");
            return (Criteria) this;
        }

        public Criteria andCarIdGreaterThanOrEqualTo(String value) {
            addCriterion("CAR_ID >=", value, "carId");
            return (Criteria) this;
        }

        public Criteria andCarIdLessThan(String value) {
            addCriterion("CAR_ID <", value, "carId");
            return (Criteria) this;
        }

        public Criteria andCarIdLessThanOrEqualTo(String value) {
            addCriterion("CAR_ID <=", value, "carId");
            return (Criteria) this;
        }

        public Criteria andCarIdLike(String value) {
            addCriterion("CAR_ID like", value, "carId");
            return (Criteria) this;
        }

        public Criteria andCarIdNotLike(String value) {
            addCriterion("CAR_ID not like", value, "carId");
            return (Criteria) this;
        }

        public Criteria andCarIdIn(List<String> values) {
            addCriterion("CAR_ID in", values, "carId");
            return (Criteria) this;
        }

        public Criteria andCarIdNotIn(List<String> values) {
            addCriterion("CAR_ID not in", values, "carId");
            return (Criteria) this;
        }

        public Criteria andCarIdBetween(String value1, String value2) {
            addCriterion("CAR_ID between", value1, value2, "carId");
            return (Criteria) this;
        }

        public Criteria andCarIdNotBetween(String value1, String value2) {
            addCriterion("CAR_ID not between", value1, value2, "carId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIsNull() {
            addCriterion("CUSTOMER_ID is null");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIsNotNull() {
            addCriterion("CUSTOMER_ID is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerIdEqualTo(String value) {
            addCriterion("CUSTOMER_ID =", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotEqualTo(String value) {
            addCriterion("CUSTOMER_ID <>", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdGreaterThan(String value) {
            addCriterion("CUSTOMER_ID >", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdGreaterThanOrEqualTo(String value) {
            addCriterion("CUSTOMER_ID >=", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdLessThan(String value) {
            addCriterion("CUSTOMER_ID <", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdLessThanOrEqualTo(String value) {
            addCriterion("CUSTOMER_ID <=", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdLike(String value) {
            addCriterion("CUSTOMER_ID like", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotLike(String value) {
            addCriterion("CUSTOMER_ID not like", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIn(List<String> values) {
            addCriterion("CUSTOMER_ID in", values, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotIn(List<String> values) {
            addCriterion("CUSTOMER_ID not in", values, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdBetween(String value1, String value2) {
            addCriterion("CUSTOMER_ID between", value1, value2, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotBetween(String value1, String value2) {
            addCriterion("CUSTOMER_ID not between", value1, value2, "customerId");
            return (Criteria) this;
        }

        public Criteria andCarCheckIdIsNull() {
            addCriterion("CAR_CHECK_ID is null");
            return (Criteria) this;
        }

        public Criteria andCarCheckIdIsNotNull() {
            addCriterion("CAR_CHECK_ID is not null");
            return (Criteria) this;
        }

        public Criteria andCarCheckIdEqualTo(String value) {
            addCriterion("CAR_CHECK_ID =", value, "carCheckId");
            return (Criteria) this;
        }

        public Criteria andCarCheckIdNotEqualTo(String value) {
            addCriterion("CAR_CHECK_ID <>", value, "carCheckId");
            return (Criteria) this;
        }

        public Criteria andCarCheckIdGreaterThan(String value) {
            addCriterion("CAR_CHECK_ID >", value, "carCheckId");
            return (Criteria) this;
        }

        public Criteria andCarCheckIdGreaterThanOrEqualTo(String value) {
            addCriterion("CAR_CHECK_ID >=", value, "carCheckId");
            return (Criteria) this;
        }

        public Criteria andCarCheckIdLessThan(String value) {
            addCriterion("CAR_CHECK_ID <", value, "carCheckId");
            return (Criteria) this;
        }

        public Criteria andCarCheckIdLessThanOrEqualTo(String value) {
            addCriterion("CAR_CHECK_ID <=", value, "carCheckId");
            return (Criteria) this;
        }

        public Criteria andCarCheckIdLike(String value) {
            addCriterion("CAR_CHECK_ID like", value, "carCheckId");
            return (Criteria) this;
        }

        public Criteria andCarCheckIdNotLike(String value) {
            addCriterion("CAR_CHECK_ID not like", value, "carCheckId");
            return (Criteria) this;
        }

        public Criteria andCarCheckIdIn(List<String> values) {
            addCriterion("CAR_CHECK_ID in", values, "carCheckId");
            return (Criteria) this;
        }

        public Criteria andCarCheckIdNotIn(List<String> values) {
            addCriterion("CAR_CHECK_ID not in", values, "carCheckId");
            return (Criteria) this;
        }

        public Criteria andCarCheckIdBetween(String value1, String value2) {
            addCriterion("CAR_CHECK_ID between", value1, value2, "carCheckId");
            return (Criteria) this;
        }

        public Criteria andCarCheckIdNotBetween(String value1, String value2) {
            addCriterion("CAR_CHECK_ID not between", value1, value2, "carCheckId");
            return (Criteria) this;
        }

        public Criteria andCarOutStartTimeIsNull() {
            addCriterion("CAR_OUT_START_TIME is null");
            return (Criteria) this;
        }

        public Criteria andCarOutStartTimeIsNotNull() {
            addCriterion("CAR_OUT_START_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andCarOutStartTimeEqualTo(Date value) {
            addCriterion("CAR_OUT_START_TIME =", value, "carOutStartTime");
            return (Criteria) this;
        }

        public Criteria andCarOutStartTimeNotEqualTo(Date value) {
            addCriterion("CAR_OUT_START_TIME <>", value, "carOutStartTime");
            return (Criteria) this;
        }

        public Criteria andCarOutStartTimeGreaterThan(Date value) {
            addCriterion("CAR_OUT_START_TIME >", value, "carOutStartTime");
            return (Criteria) this;
        }

        public Criteria andCarOutStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CAR_OUT_START_TIME >=", value, "carOutStartTime");
            return (Criteria) this;
        }

        public Criteria andCarOutStartTimeLessThan(Date value) {
            addCriterion("CAR_OUT_START_TIME <", value, "carOutStartTime");
            return (Criteria) this;
        }

        public Criteria andCarOutStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("CAR_OUT_START_TIME <=", value, "carOutStartTime");
            return (Criteria) this;
        }

        public Criteria andCarOutStartTimeIn(List<Date> values) {
            addCriterion("CAR_OUT_START_TIME in", values, "carOutStartTime");
            return (Criteria) this;
        }

        public Criteria andCarOutStartTimeNotIn(List<Date> values) {
            addCriterion("CAR_OUT_START_TIME not in", values, "carOutStartTime");
            return (Criteria) this;
        }

        public Criteria andCarOutStartTimeBetween(Date value1, Date value2) {
            addCriterion("CAR_OUT_START_TIME between", value1, value2, "carOutStartTime");
            return (Criteria) this;
        }

        public Criteria andCarOutStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("CAR_OUT_START_TIME not between", value1, value2, "carOutStartTime");
            return (Criteria) this;
        }

        public Criteria andCarOutEndTimeIsNull() {
            addCriterion("CAR_OUT_END_TIME is null");
            return (Criteria) this;
        }

        public Criteria andCarOutEndTimeIsNotNull() {
            addCriterion("CAR_OUT_END_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andCarOutEndTimeEqualTo(Date value) {
            addCriterion("CAR_OUT_END_TIME =", value, "carOutEndTime");
            return (Criteria) this;
        }

        public Criteria andCarOutEndTimeNotEqualTo(Date value) {
            addCriterion("CAR_OUT_END_TIME <>", value, "carOutEndTime");
            return (Criteria) this;
        }

        public Criteria andCarOutEndTimeGreaterThan(Date value) {
            addCriterion("CAR_OUT_END_TIME >", value, "carOutEndTime");
            return (Criteria) this;
        }

        public Criteria andCarOutEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CAR_OUT_END_TIME >=", value, "carOutEndTime");
            return (Criteria) this;
        }

        public Criteria andCarOutEndTimeLessThan(Date value) {
            addCriterion("CAR_OUT_END_TIME <", value, "carOutEndTime");
            return (Criteria) this;
        }

        public Criteria andCarOutEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("CAR_OUT_END_TIME <=", value, "carOutEndTime");
            return (Criteria) this;
        }

        public Criteria andCarOutEndTimeIn(List<Date> values) {
            addCriterion("CAR_OUT_END_TIME in", values, "carOutEndTime");
            return (Criteria) this;
        }

        public Criteria andCarOutEndTimeNotIn(List<Date> values) {
            addCriterion("CAR_OUT_END_TIME not in", values, "carOutEndTime");
            return (Criteria) this;
        }

        public Criteria andCarOutEndTimeBetween(Date value1, Date value2) {
            addCriterion("CAR_OUT_END_TIME between", value1, value2, "carOutEndTime");
            return (Criteria) this;
        }

        public Criteria andCarOutEndTimeNotBetween(Date value1, Date value2) {
            addCriterion("CAR_OUT_END_TIME not between", value1, value2, "carOutEndTime");
            return (Criteria) this;
        }

        public Criteria andCarOutDayPriceIsNull() {
            addCriterion("CAR_OUT_DAY_PRICE is null");
            return (Criteria) this;
        }

        public Criteria andCarOutDayPriceIsNotNull() {
            addCriterion("CAR_OUT_DAY_PRICE is not null");
            return (Criteria) this;
        }

        public Criteria andCarOutDayPriceEqualTo(Short value) {
            addCriterion("CAR_OUT_DAY_PRICE =", value, "carOutDayPrice");
            return (Criteria) this;
        }

        public Criteria andCarOutDayPriceNotEqualTo(Short value) {
            addCriterion("CAR_OUT_DAY_PRICE <>", value, "carOutDayPrice");
            return (Criteria) this;
        }

        public Criteria andCarOutDayPriceGreaterThan(Short value) {
            addCriterion("CAR_OUT_DAY_PRICE >", value, "carOutDayPrice");
            return (Criteria) this;
        }

        public Criteria andCarOutDayPriceGreaterThanOrEqualTo(Short value) {
            addCriterion("CAR_OUT_DAY_PRICE >=", value, "carOutDayPrice");
            return (Criteria) this;
        }

        public Criteria andCarOutDayPriceLessThan(Short value) {
            addCriterion("CAR_OUT_DAY_PRICE <", value, "carOutDayPrice");
            return (Criteria) this;
        }

        public Criteria andCarOutDayPriceLessThanOrEqualTo(Short value) {
            addCriterion("CAR_OUT_DAY_PRICE <=", value, "carOutDayPrice");
            return (Criteria) this;
        }

        public Criteria andCarOutDayPriceIn(List<Short> values) {
            addCriterion("CAR_OUT_DAY_PRICE in", values, "carOutDayPrice");
            return (Criteria) this;
        }

        public Criteria andCarOutDayPriceNotIn(List<Short> values) {
            addCriterion("CAR_OUT_DAY_PRICE not in", values, "carOutDayPrice");
            return (Criteria) this;
        }

        public Criteria andCarOutDayPriceBetween(Short value1, Short value2) {
            addCriterion("CAR_OUT_DAY_PRICE between", value1, value2, "carOutDayPrice");
            return (Criteria) this;
        }

        public Criteria andCarOutDayPriceNotBetween(Short value1, Short value2) {
            addCriterion("CAR_OUT_DAY_PRICE not between", value1, value2, "carOutDayPrice");
            return (Criteria) this;
        }

        public Criteria andCarOutDepositIsNull() {
            addCriterion("CAR_OUT_DEPOSIT is null");
            return (Criteria) this;
        }

        public Criteria andCarOutDepositIsNotNull() {
            addCriterion("CAR_OUT_DEPOSIT is not null");
            return (Criteria) this;
        }

        public Criteria andCarOutDepositEqualTo(Short value) {
            addCriterion("CAR_OUT_DEPOSIT =", value, "carOutDeposit");
            return (Criteria) this;
        }

        public Criteria andCarOutDepositNotEqualTo(Short value) {
            addCriterion("CAR_OUT_DEPOSIT <>", value, "carOutDeposit");
            return (Criteria) this;
        }

        public Criteria andCarOutDepositGreaterThan(Short value) {
            addCriterion("CAR_OUT_DEPOSIT >", value, "carOutDeposit");
            return (Criteria) this;
        }

        public Criteria andCarOutDepositGreaterThanOrEqualTo(Short value) {
            addCriterion("CAR_OUT_DEPOSIT >=", value, "carOutDeposit");
            return (Criteria) this;
        }

        public Criteria andCarOutDepositLessThan(Short value) {
            addCriterion("CAR_OUT_DEPOSIT <", value, "carOutDeposit");
            return (Criteria) this;
        }

        public Criteria andCarOutDepositLessThanOrEqualTo(Short value) {
            addCriterion("CAR_OUT_DEPOSIT <=", value, "carOutDeposit");
            return (Criteria) this;
        }

        public Criteria andCarOutDepositIn(List<Short> values) {
            addCriterion("CAR_OUT_DEPOSIT in", values, "carOutDeposit");
            return (Criteria) this;
        }

        public Criteria andCarOutDepositNotIn(List<Short> values) {
            addCriterion("CAR_OUT_DEPOSIT not in", values, "carOutDeposit");
            return (Criteria) this;
        }

        public Criteria andCarOutDepositBetween(Short value1, Short value2) {
            addCriterion("CAR_OUT_DEPOSIT between", value1, value2, "carOutDeposit");
            return (Criteria) this;
        }

        public Criteria andCarOutDepositNotBetween(Short value1, Short value2) {
            addCriterion("CAR_OUT_DEPOSIT not between", value1, value2, "carOutDeposit");
            return (Criteria) this;
        }

        public Criteria andCarOutOilIsNull() {
            addCriterion("CAR_OUT_OIL is null");
            return (Criteria) this;
        }

        public Criteria andCarOutOilIsNotNull() {
            addCriterion("CAR_OUT_OIL is not null");
            return (Criteria) this;
        }

        public Criteria andCarOutOilEqualTo(Double value) {
            addCriterion("CAR_OUT_OIL =", value, "carOutOil");
            return (Criteria) this;
        }

        public Criteria andCarOutOilNotEqualTo(Double value) {
            addCriterion("CAR_OUT_OIL <>", value, "carOutOil");
            return (Criteria) this;
        }

        public Criteria andCarOutOilGreaterThan(Double value) {
            addCriterion("CAR_OUT_OIL >", value, "carOutOil");
            return (Criteria) this;
        }

        public Criteria andCarOutOilGreaterThanOrEqualTo(Double value) {
            addCriterion("CAR_OUT_OIL >=", value, "carOutOil");
            return (Criteria) this;
        }

        public Criteria andCarOutOilLessThan(Double value) {
            addCriterion("CAR_OUT_OIL <", value, "carOutOil");
            return (Criteria) this;
        }

        public Criteria andCarOutOilLessThanOrEqualTo(Double value) {
            addCriterion("CAR_OUT_OIL <=", value, "carOutOil");
            return (Criteria) this;
        }

        public Criteria andCarOutOilIn(List<Double> values) {
            addCriterion("CAR_OUT_OIL in", values, "carOutOil");
            return (Criteria) this;
        }

        public Criteria andCarOutOilNotIn(List<Double> values) {
            addCriterion("CAR_OUT_OIL not in", values, "carOutOil");
            return (Criteria) this;
        }

        public Criteria andCarOutOilBetween(Double value1, Double value2) {
            addCriterion("CAR_OUT_OIL between", value1, value2, "carOutOil");
            return (Criteria) this;
        }

        public Criteria andCarOutOilNotBetween(Double value1, Double value2) {
            addCriterion("CAR_OUT_OIL not between", value1, value2, "carOutOil");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("USER_ID is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("USER_ID is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(String value) {
            addCriterion("USER_ID =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(String value) {
            addCriterion("USER_ID <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(String value) {
            addCriterion("USER_ID >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("USER_ID >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(String value) {
            addCriterion("USER_ID <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(String value) {
            addCriterion("USER_ID <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLike(String value) {
            addCriterion("USER_ID like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotLike(String value) {
            addCriterion("USER_ID not like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<String> values) {
            addCriterion("USER_ID in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<String> values) {
            addCriterion("USER_ID not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(String value1, String value2) {
            addCriterion("USER_ID between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(String value1, String value2) {
            addCriterion("USER_ID not between", value1, value2, "userId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}